<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="icon" type="image/x-icon" href="ico/favicon.ico">
    <link rel="stylesheet" href="./css/detail.min.css">
    <link rel="stylesheet" href="../common/css/header.min.css">
    <link rel="stylesheet" href="../common/css/footer.min.css">
    <link rel="stylesheet" href="../common/css/reset.min.css">
    <link rel="stylesheet" href="../common/css/common.min.css">
    <link rel="stylesheet" href="../common/font//iconfont.css">
    <title>Dickies官方网站-详情页</title>
</head>

<body>
    <div class="header"></div>
    <div class="con">
        <div class="goods-dk">
            <div class="sm-img-l">
                <div class="sm-img">
                    <img src="images/10019.jpg" alt="">
                    <div class="dk-mask"></div>
                </div>
                <div class="swpier">
                    <ul>
                        <span class="iconfont icon-xiangshang"></span>
                        <li>
                            <img src="images/10019.jpg" alt="">
                        </li>
                        <li>
                            <img src="images/10020.jpg" alt="">
                        </li>
                        <li>
                            <img src="images/10021.jpg" alt="">
                        </li>
                        <span class="iconfont icon-xiangshang"></span>
                    </ul>
                </div>
            </div>
            <div class="bg-img"></div>
            <div class="goods-info">
                <h2 class="goods-title">Dickies情侣款印花短袖T恤</h2>
                <div class="goods-id">DK007373</div>
                <div class="goods-price">
                    <span>￥</span>
                    <span id="price">229</span>
                    <span>.00</span>
                </div>
                <div class="goods-pro">
                    <span>满减</span>
                    <span>每满400减120元（上不封顶）</span>
                </div>
                <div class="goods-tee">
                    <span class="iconfont icon-wuliuxiaocheche">    顺丰包邮</span>
                    <span class="iconfont icon-7tiantuihuan">    7天无理由退换货</span>
                </div>
                <div class="goods-sku">
                    <div class="goods-sku-hd">请选择颜色</div>
                    <div class="goods-group-1">
                        <ul>
                            <li>
                                <img src="images/10019.jpg" alt="白色">
                            </li>
                            <li>
                                <img src="images/10022.jpg" alt="黑色">
                            </li>
                            <li>
                                <img src="images/10025.jpg" alt="粉色">
                            </li>
                        </ul>
                    </div>
                    <div class="goods-sku-hd">选择颜色</div>
                    <div class="goods-group-2">
                        <ul>
                            <li class="disabled">XS</li>
                            <li class="disabled">S</li>
                            <li class="disabled">M</li>
                            <li class="disabled">L</li>
                            <li class="disabled">XL</li>
                            <li class="disabled">XXL</li>
                        </ul>
                    </div>
                    <div class="goods-sku-hd">数量</div>
                    <div class="goods-sku-num">
                        <ul>
                            <li class="back">➖</li>
                            <li class="num">1</li>
                            <li class="back">➕</li>
                        </ul>
                        <span></span>
                    </div>
                    <div class="goods-btn">
                        <button class="add-car">加入购物车
                            <span class="iconfont icon-gouwuche"></span>
                        </button>
                        <button>立即购买</button>
                    </div>
                    <div class="goods-fav">❤立即收藏</div>
                    <div class="goods-ico">
                        <span class="iconfont icon-weibo1"></span>
                        <span class="iconfont icon-weixin1"></span>
                        <span class="iconfont icon-qq"></span>
                        <span class="iconfont icon-xiaoxi"></span>
                        <span class="iconfont icon-yonghu1"></span>
                    </div>
                </div>
            </div>
        </div>
        <div class="goods-imgs">
            <img src="images/10007.jpg" alt="">
            <img src="images/10036.jpg" alt="">
            <img src="images/10030.jpg" alt="">
            <img src="images/10032.jpg" alt="">
            <img src="images/10033.jpg" alt="">
            <img src="images/10034.jpg" alt="">
            <img src="images/10029.jpg" alt="">
            <img src="images/10017.jpg" alt="">
            <img src="images/10031.jpg" alt="">
            <img src="images/10035.jpg" alt="">
            <img src="images/10013.jpg" alt="">
            <img src="images/10012.jpg" alt="">
            <img src="images/10004.jpg" alt="">
            <img src="images/10002.jpg" alt="">
            <img src="images/10016.jpg" alt="">
            <img src="images/10014.jpg" alt="">
            <img src="images/10015.jpg" alt="">
            <img src="images/10006.jpg" alt="">
            <img src="images/10005.jpg" alt="">
            <img src="images/10009.jpg" alt="">
            <img src="images/10011.jpg" alt="">
            <img src="images/10010.jpg" alt="">
            <!-- <img src="images/10018.jpg" alt="">
            <img src="images/10008.jpg" alt="">
            <img src="images/10028.jpg" alt="">
            <img src="images/10003.jpg" alt=""> -->
        </div>
        <div class="sp-recommend">
            <div class="sp-recommend-tit">当季主推</div>
            <span class="to-l">
                <img src="images/l.png" alt="">
            </span>
            <span class="to-r">
                <img src="images/r.png" alt="">
            </span>
            <div class="sp-recommend-swp">
                <ul>
                    <li>
                        <img src="images/1.jpg" alt="">
                        <p>Dickies男式明线装饰工装长袖衬衫</p>
                        <p>￥399.00</p>
                    </li>
                    <li>
                        <img src="images/2.jpg" alt="">
                        <p>Dickies女式印花阔腿喇叭裤</p>
                        <p>￥599.00</p>
                    </li>
                    <li>
                        <img src="images/3.jpg" alt="">
                        <p>Dickies男式撞色压线连帽印花宽松薄外套</p>
                        <p>￥899.00</p>
                    </li>
                    <li>
                        <img src="images/4.jpg" alt="">
                        <p>Dickies女式印花阔腿喇叭裤</p>
                        <p>￥599.00</p>
                    </li>
                    <li>
                        <img src="images/5.jpg" alt="">
                        <p>Dickies男式撞色压线连帽印花宽松薄外套</p>
                        <p>￥899.00</p>
                    </li>
                    <li>
                        <img src="images/6.jpg" alt="">
                        <p>Dickies男式彩色LOGO印花短袖T恤</p>
                        <p>￥258.00</p>
                    </li>
                    <li>
                        <img src="images/7.jpg" alt="">
                        <p>Dickies男式休闲工装短裤</p>
                        <p>￥199.00</p>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <div class="footer"></div>
</body>

</html>

<script src="../jquery-3.5.1/jquery-3.5.1.min.js"></script>
<script src="js/detail.js"></script>
<script>
    $(".header").load("../common/html/header.html", function() {
        window.onscroll = function() {
            // console.log($(window).scrollTop())
            if ($(window).scrollTop() > 70) {
                $(".header-bar-menus-t").css({
                    height: 45,
                    marginTop: 0,
                    width: "100%",
                    backgroundColor: "#fff",
                    zIndex: 1000,
                    position: "fixed",
                    top: 0,
                })
                $(".header-bar-menus-t-con .logo img").css({
                    width: 70,
                })
                $(".header-bar-menus-t-con .logo").css({
                    position: "absolute",
                    left: 10,
                    top: 3,
                    zIndex: 2000,
                })
            }
            if ($(window).scrollTop() < 70) {
                $(".header-bar-menus-t").css({
                    height: 45,
                    marginTop: 30,
                    width: "100%",
                    backgroundColor: "#fff",
                    zIndex: 1000,
                    position: "",
                    top: "",
                })
                $(".header-bar-menus-t-con .logo img").css({
                    width: 170,
                })
                $(".header-bar-menus-t-con .logo").css({
                    position: "absolute",
                    left: 10,
                    top: -30,
                    zIndex: 2000,
                })
            }
        }
    })

    $(".footer").load("../common/html/footer.html", function() {
        $(".nav li").eq(2).click(function() {
            $(window).scrollTop(0);
        })
    })
</script>